<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>   

    <title>
    	<s:i18n name="loginTitle">
			<s:text name="title.login" />
		</s:i18n>
	</title>
    <s:head />
	<script type="text/javascript">
	</script>
	
	<link rel="stylesheet" href="css/style1.css" type="text/css"></link>
	
  </head>
  
  <body>
  <div id="mainDiv">
  <div id="welcomeTitle">
  <s:text name="Welcome to Realtor Assistant!">
  </s:text>
  </div>
  <div id="loginControlsOuter">
  <div id="loginControlsInner">
 
    <s:text name="Please Enter your Username and Password Below:"></s:text>
	<s:form action="login.ra">
		<table id="table1">
			<tr><td><s:textfield label="%{getText('login.username')}" name="user.username" required="true" requiredposition="left" /></td></tr>
			<tr><td><s:password label="%{getText('login.password')}" name="user.UPassword" required="true" requiredposition="left" /></td></tr>
			<tr><td id="submitButtonCell"><s:submit value="%{getText('login.submit')}" /></td></tr>
		</table>
		<s:if test="%{errorinfo != null && errorinfo != '' && errorinfo !='li' }">
			<<s:debug><s:property value="errorinfo" /></s:debug>
		</s:if>		
	</s:form>
	
	<br />

  </div>
  </div>
  </div>
  </body>
</html>